//==============================================================================
// war salamander_anim.txt
//==============================================================================

//==============================================================================
define birthSFX
{
   set hotspot
   {
      version
      {
         VisualParticle SFX C Myth Unit Birth Effect
      }
   }
}

//==============================================================================
define eclipseSFX
{
	SetSelector
	{
		TechLogic none/Eclipse Active
		set hotspot
		{
			version
			{
			  Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
			  Visualparticle SFX A Eclipse Unit effect
			}
		}			 
	}
}

//==============================================================================
define Venom
{
	TechLogic none/Varanidae
	set hotspot
	{
		version
		{
			Visualnone jimmy
		}
	}	
	set hotspot
	{
		version
		{
			Visualparticle Special A Poison Buff
			//Visualparticle SFX E Set Gaia animal
		}
	}
}

//==============================================================================
define wakewalk
{
   set hotspot
   {
      version
      {
         Visualparticle Naval A Small Boat Walk
      }
   }
}

//==============================================================================
define rippledeath
{
   set hotspot
   {
      version
      {
         Visualparticle Naval A Small Boat Death
      }
   }
}

//==============================================================================
define rippleidle
{
   set hotspot
   {
      version
      {
         Visualparticle Naval A Small Boat Idle
      }
   }
}

//==============================================================================
define Bubbles
{
   set hotspot
   {
      version
      {
         Visualparticle Special E Leviathan Bubbles
      }
   }
}

//==============================================================================
define SplashA
{
   set hotspot
   {
      version
      {
         Visualparticle special x nereid splashA
      }
   }
}

//=============================================================================
anim Birth
{
	SetSelector 
	{
		AmphibiousLogic land/water
		set hotspot
		{
			version
			{
				Visual Special C Salamander_idleA
				Connect hotspot Venom hotspot
				connect HOTSPOT birthSFX hotspot
				connect hotspot eclipseSFX hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Special C Salamander_swimidleA
				Connect hotspot Venom hotspot
				Connect ATTACHPOINT rippleidle hotspot
				connect HOTSPOT birthSFX hotspot
				connect hotspot eclipseSFX hotspot
			}
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector 
	{
		AmphibiousLogic land/water
		set hotspot
		{
			version
			{
				Visual Special C Salamander_idleA
				Connect hotspot Venom hotspot
				connect hotspot eclipseSFX hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Special C Salamander_swimidleA
				Connect hotspot Venom hotspot
				connect hotspot eclipseSFX hotspot
				Connect ATTACHPOINT rippleidle hotspot
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector 
	{
		techlogic none/varanidae
		SetSelector 
		{
			AmphibiousLogic land/water
			set hotspot
			{
				version
				{
					Visual Special C Salamander_attackA
					length 1.35
					Tag Attack 0.6 true
					Tag GenericSound 0.35 true
					Connect hotspot Venom hotspot
					connect hotspot eclipseSFX hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Special C Salamander_swimattackA
					length 1.35
					Tag Attack 0.6 true
					Tag GenericSound 0.35 true
					Connect hotspot Venom hotspot
					connect hotspot eclipseSFX hotspot
					Connect ATTACHPOINT bubbles hotspot
				}
			}
		}
		SetSelector
		{
			AmphibiousLogic land/water
			set hotspot
			{
				version
				{
					Visual Special C Salamander_attackA
					length 1.0
					Tag Attack 0.6 true
					Tag GenericSound 0.35 true
					Connect hotspot Venom hotspot
					connect hotspot eclipseSFX hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Special C Salamander_swimattackA
					length 1.0
					Tag Attack 0.6 true
					Tag GenericSound 0.35 true
					Connect hotspot Venom hotspot
					connect hotspot eclipseSFX hotspot
					Connect ATTACHPOINT bubbles hotspot
				}
			}
		}
	}
}

//==============================================================================
anim WhirlwindAttack
{
	SetSelector 
	{
		AmphibiousLogic land/water
		set hotspot
		{
			version
			{
				Visual Special C Salamander_attackA
				length 0.85
				Tag Attack 0.34 true
				Tag GenericSound 0.19 true
				tag SpecificSoundSet 0.10 false CrocGrunt checkVisible 
				Connect hotspot Venom hotspot
				connect hotspot eclipseSFX hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Special C Salamander_swimattackA
				length 0.85
				Tag Attack 0.34 true
				Tag GenericSound 0.19 true
				tag SpecificSoundSet 0.10 false CrocGrunt checkVisible 
				Connect hotspot Venom hotspot
				connect hotspot eclipseSFX hotspot
				Connect ATTACHPOINT SplashA hotspot
				Connect ATTACHPOINT bubbles hotspot
			}
		}
	}
}

//==============================================================================
anim death
{
	SetSelector 
	{
		AmphibiousLogic land/water
		set hotspot
		{
			version
			{
				Visual Special C Salamander_deathA
			}
		}
		set hotspot
		{
			version
			{
				Visual Special C Salamander_swimdeathA
				Connect hotspot Venom hotspot
				Connect ATTACHPOINT bubbles hotspot
				Connect ATTACHPOINT rippledeath hotspot
			}
		}
	}
}

//==============================================================================
anim bored
{
	SetSelector 
	{
		AmphibiousLogic land/water
		set hotspot
		{
			version
			{
				Visual Special C Salamander_boredA
				Connect hotspot Venom hotspot
				connect hotspot eclipseSFX hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Special C Salamander_swimboredA
				Connect hotspot Venom hotspot
				connect hotspot eclipseSFX hotspot
				Connect ATTACHPOINT rippleidle hotspot
			}
		}
	}
}

//==============================================================================
anim walk
{
	SetSelector 
	{
		techlogic none/varanidae
		SetSelector 
		{
			AmphibiousLogic land/water
			set hotspot
			{
				version
				{
					Visual Special C Salamander_walkA
					tag FootstepLeft 0.40 true   
					tag FootstepRight 0.50 true   
					tag FootstepLeft 0.80 true   
					tag FootstepRight 0.90 true
					Connect hotspot Venom hotspot
					connect hotspot eclipseSFX hotspot
					length 1.0
				}
			}
			set hotspot
			{
				version
				{
					Visual Special C Salamander_swimwalkA
					Connect hotspot Venom hotspot
					connect hotspot eclipseSFX hotspot
					Connect TOPOFHEAD wakewalk hotspot
					length 1.5
				}
			}
		}
		SetSelector
		{
			AmphibiousLogic land/water
			set hotspot
			{
				version
				{
					Visual Special C Salamander_walkA
					tag FootstepLeft 0.40 true   
					tag FootstepRight 0.50 true   
					tag FootstepLeft 0.80 true   
					tag FootstepRight 0.90 true
					Connect hotspot Venom hotspot
					connect hotspot eclipseSFX hotspot
					length 0.65
				}
			}
			set hotspot
			{
				version
				{
					Visual Special C Salamander_swimwalkA
					Connect hotspot Venom hotspot
					connect hotspot eclipseSFX hotspot
					Connect TOPOFHEAD wakewalk hotspot
					length 0.98
				}
			}
		}
	}
}

//==============================================================================
anim flail
{
	SetSelector 
	{
		AmphibiousLogic land/water
		set hotspot
		{
			version
			{
				Visual Special C Salamander_flailA
				Connect hotspot Venom hotspot
				connect hotspot eclipseSFX hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Special C Salamander_swimflailA
				Connect hotspot Venom hotspot
				Connect ATTACHPOINT bubbles hotspot
				connect hotspot eclipseSFX hotspot
			}
		}
	}
}
